package com.pioneer.web.purchase.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pioneer.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * PurPlanBody
 *
 * @author hlm
 * @date 2025-03-25 09:04:46
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "pur_plan_body")
@Data
public class PurPlanBody extends BaseEntity {

    /**
     * 采购计划子ID
     */
    @TableId(type = IdType.AUTO)
    private Long planBodyId;

    /**
     * 采购计划ID
     */
    private Long planId;

    /**
     * 采购部门ID
     */
    private Long deptId;

    /**
     * 存货管理ID
     */
    private Long inventoryId;

    /**
     * 计划采购数量
     */
    private BigDecimal planPurNumber;

    /**
     * 计划采购单价
     */
    private BigDecimal planPrice;

    /**
     * 计划采购总价
     */
    private BigDecimal planTotal;
}
